using System.Runtime.InteropServices;

namespace WindowsAPI.DWM
{
    [StructLayout(LayoutKind.Sequential)]
    public class ThumbnailProperties
    {
        public ThumbnailPropertiesFlags Flags;
        public RECT Destination;
        public RECT Source;
        public byte Opacity;
        [MarshalAs(UnmanagedType.Bool)]
        public bool Visible;
        [MarshalAs(UnmanagedType.Bool)]
        public bool SourceClientAreaOnly;
        //public const uint DWM_TNP_RECTDESTINATION = 0x00000001;
        //public const uint DWM_TNP_RECTSOURCE = 0x00000002;
        //public const uint DWM_TNP_OPACITY = 0x00000004;
        //public const uint DWM_TNP_VISIBLE = 0x00000008;
        //public const uint DWM_TNP_SOURCECLIENTAREAONLY = 0x00000010;
    }
}